The effect of RE substitution in layered REO0.5F0.5BiS2: Chemical pressure, local disorder and superconductivity