When Marissa Mayer took over as CEO of Yahoo, she was tasked with turning around a fading Internet giant. Yesterday, she got rid of one of the best perks of a job in the tech world — working from home.