A cosurety or comaker against whom judgment has been rendered for the whole debt, or who has paid the same or more than the ratable share of such judgment, may have judgment on motion, against all of the other parties to the instrument liable to such cosurety or comaker, whether included in the original judgment or not, for the ratable share of each.