A second attempt to pass a healthcare legislation in the US Senate failed late on July 17 as US President Donald Trump called for an outright repeal of Obamacare.