Rangers return to top with hard-fought Hibs victory