UBS has been ordered to cap bonuses for foreign-exchange and precious-metals bankers as Switzerland's regulator probes 11 of the bank's current and former employees as part of its inquiry into currency rigging.