Kilmarmock put the off-field turmoil behind them as Kris Boyd's brace secured a 2-0 win over Hearts and a second successive home win.