Jada Pinkett Smith and Leah Remini have ended their feud after realising they are both "broken little girls".