Tunisia's Islamist government agrees to step down