10 states join Ind.'s appeal of gay marriage ruling