On Sunday , Palestinian militants detonated more than a ton of explosives in a tunnel beneath an Israeli army post , killing five soldiers .