Japan has lifted a ban on imports of North American lobster that had been linked to a misunderstanding over safety.