Extraneous solutions of rational equations