Federal judge sides with SpaceX after environmental group tried to stop rocket launches