The military told Palestinians to leave an area where many have sought refuge during the 21-month war and warned that it may expand operations.