ICC will do what it deemed right, says Kapil