Medieval Arabic texts help researchers track down explosive star deaths