Stefan Ratchford kicked two second-half penalties to edge Warrington to a tense 4-0 victory over Hull FC in a try-less Super League encounter at the Halliwell Jones Stadium.