Paul Stirling and Harry Tector hit half-centuries before the bowlers got the job done for the home side