The air of festivities in Indonesia and Pakistan on the first day of Eid-al-fitr has been dampened as the death toll rises following a series of attacks and tragedies.