Software bug may cause Patriot missile errors