Replace double colon at end of line by single colon