Apple to ban location tracking software that sold data to U.S. military