Kilmarnock eased their relegation fears with a big 4-1 win over fellow strugglers St Mirren in Paisley.