What's broken?
The separation among the mortar bed and the brick ledge is due to thermal expansion between the brick and the slab. You're not gong to stop that.
As for the small triangle on the corner... Builder should have put a piece of plastic on the brick ledge below the mortar to provide a separation so the two could move independently during thermal cycles.