Mel B in 11th-hour split with legal team ahead of domestic violence trial