Indian courts mass sentence for 38 in Ahmedabad blast