I think this would leave everyone with 41 points
Killie - Draw with SM, Beat Hamilton and 'Well
St Mirren - Draw with Killie, Beat Inverness and 'Well
Hamilton - Draw with Falkirk, Beat SM and 'Well
Inverness - Beat 'Well, SM and Killie
Falkirk - Draw Hamilton, beat the rest
You can switch the Killie, St Mirren and Hamilton results around to achieve the same.