The UK Independence Party has promised a full inquiry into an altercation involving one of its lawmakers that left him in hospital and the party in chaos.