TST: Add test case for setitem with duplicate columns and an index
Abstract broadcasting into function
CLN: Simplify scalar broadcasting