Sri Lankan president resigns, Parliament to convene