In reversal, federal government will allow international students to stay in the U.S. while taking only online classes