Support imports of the form `use {foo,bar}`

This fixes #10806.