Complex structure due to As bonding and interplay with electronic structure in superconducting BaNi2As2