Irishman Eugene Laverty closed the gap on World Superbike Championship leader Sylvain Guintoli after victory in the second race of the day at Monza.