Dhan has fixed the issue of basket order leg failures due to margin issues. If orders are arranged in the right order - hedge legs first followed by short legs all orders should go through and execute in one click.
However, Strategy Builder is a different interface. Not sure whether they have done this optimisation there.