Two ethnic Indian men have been jailed by a Malaysian court for the murder of a Nigerian student who they claimed had cheated them.