Connecticut companies would be banned from selling drugs used in capital punishment under bill opposed by state hospitals.