St Johnstone notched a third successive win in the Scottish Premiership by seeing off nine-man Kilmarnock 3-1 at McDiarmid Park.