Dozens of Sri Lankan troops have died in attacks blamed on Tamil rebels in recent weeks .