Bill to compensate wrongfully convicted passes Senate