A red card for Liam Knight and two sin-bins shaped Huddersfield’s narrow 12-10 victory over Hull FC at St James’ Park.