arties to said suit have been improperly or collusively made or joined, either as plaintiffs or defendants, for the purpose of creating a case cognizable or removable under this chapter, the said district court shall proceed no further therein, but shall dismiss the suit or remand it to the court from which it was removed, as justice may require, and shall make such order as to costs as shall be j