Indian shares end down as IT, derivatives expiry weigh