Feds to drop new habitat rules ending states legal challenge