Spain reforms bankruptcy law to facilitate restructurings