Prime minister has sought to capitalise on domestic support for 12-day conflict to shore up his divisive premiership