Outgoing PM calls on allied parties to work together to 'defend Israeli democracy,' says lesson of cooperation can be learned from 'toxic' opposition under Netanyahu