BofA to cut 500 mortgage employees

Layoffs result from drop in refinancing