A giant star ate its dead neighbor and caused one of the brightest supernovas ever, new study suggests