Walter Investment 2Q loss swells on tax expense, goodwill charge