With Gaza hit by ground attack, UN chief says no military solution to Mideast conflict