U.S. rejects permit for Alaska mine, company vows appeal