Prime minister set to oversee make-up and mandate of inquiry into military failings surrounding Hamas assault