Inverness maintained the pressure on second-place Motherwell and dented Hibernian's top-six hopes with a 2-1 win at Easter Road.