Transition to an Insulator from a Superconductor due to Substitution of Ca by Rare-earth Elements in Bi4Sr4RE2Cu4O16+δ (RE=Nd, Eu, Y)