Burma's main opposition party says the military government has freed at least 40 political prisoners as part of a larger prisoner release marking the country's independence day.