Israeli parliament gives PM authority to declare war